#pragma once

#include "../umlmodel_global.h"

#include "PackageableElement.h"

namespace uml {

/// <summary>
/// Event
/// An Event is the specification of some occurrence that may potentially trigger
/// effects by an object.
/// </summary>
class UMLMODEL_EXPORT Event : public PackageableElement {

public: // Constructors and destructors
    explicit Event(const QString& umlType="uml::Event");

public: // JsonSerializable override
    void fromJson(const QJsonObject& json, QStringList& errorList) override;
    void toJson(QJsonObject& json) override;

};

} // namespace uml
